//
//  PlayerViewController.h
//  MoeFM
//
//  Created by miyang on 14-11-7.
//  Copyright (c) 2014年 StraightJet. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "STKAudioPlayer.h"

@interface PlayerViewController : UIViewController<STKAudioPlayerDelegate>



@property (nonatomic,strong)NSMutableDictionary *nowplayingInfo;

@property (nonatomic,strong)UILabel *albumLabel;
@property (nonatomic,strong)UIImageView *coverIMG;
@property (nonatomic,strong)UILabel *musicLabel;
@property (nonatomic,strong)UILabel *artistLabel;
@property (nonatomic,strong)UIButton *heatBtn;
@property (nonatomic,strong)NSArray *netList;
@property (nonatomic,strong)NSArray *localList;
@property (nonatomic,assign)NSInteger favID;

@property (nonatomic,assign)CGFloat elapsedTime;

@property (nonatomic,strong)NSMutableArray *musicarr;
@property (nonatomic,strong)NSMutableArray *radioarr;

@property (nonatomic, strong) OAuth1Controller *oauth1Controller;
@property (nonatomic, strong) NSString *oauthToken;
@property (nonatomic, strong) NSString *oauthTokenSecret;

@property (nonatomic, strong)STKAudioPlayer *audioPlayer;

+ (instancetype)sharPlayer;

- (void)playingWithURL:(NSString *)url andAlbumTitle:(NSString *)title;
//- (void)playingWithIpodItems:(NSArray *)mediaItemArray andIndex:(NSInteger)index;


- (void)nextBtn;
@end
